import Vue from "vue";
import App from "./App.vue";
import router from "./router/index";
import store from "./store";

import FastClick from 'fastclick'
import toast from "components/common/toast";
Vue.config.productionTip = false;

Vue.use(toast);

// 解决移动端 300ms 延迟问题
FastClick.attach(document.body);

Vue.prototype.$bus = new Vue();

new Vue({
  render: h => h(App),
  router,
  store
}).$mount("#app");

// console.log('aaa')

// setTimeout(() => {
//  console.log('bbb')
// })

// console.log('ccc')

// aaa => ccc => bbb
